﻿using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;

namespace ProjScan.Config
{
	// Token: 0x0200032A RID: 810
	internal class EffectsPlayCheckConfig : BaseConfig
	{
		// Token: 0x060012E8 RID: 4840 RVA: 0x0005A9EC File Offset: 0x00058BEC
		public override void Init()
		{
			this.hasSeparateTargetDirSettings = true;
			this.hasWhiteList = true;
			this.hasfailedData = true;
			this.hasFixRule = false;
			bool flag = this.dicRuleConfig == null;
			if (flag)
			{
				this.dicRuleConfig = new Dictionary<string, RuleConfig>();
			}
			else
			{
				this.dicRuleConfig.Clear();
			}
		}

		// Token: 0x060012E9 RID: 4841 RVA: 0x00008DED File Offset: 0x00006FED
		public override void LoadConfig(JObject data)
		{
			this._rootConfig = (JObject)data["Effects_Play_Check"];
			this.ResolveRule();
		}

		// Token: 0x060012EA RID: 4842 RVA: 0x00008E0D File Offset: 0x0000700D
		public override void SaveConfig(JObject data)
		{
			data.Add("Effects_Play_Check", this.SaveJObjectRule());
		}
	}
}
